package com.itheima.common;

public class BaseContext {
    public static final ThreadLocal<Integer>threadLocal = new ThreadLocal<>();
    public static void setThreadLocalid(Integer id){
        threadLocal.set(id);
    }
    public static Integer getThreadLocalid(){
        return threadLocal.get();
    }
}
